SDK/J Authentication Package ver1.0
RICOH Confidential

jp.co.ricoh.dsdk.scard.option.security
Class CHVException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byjp.co.ricoh.dsdk.scard.framework.SCardException
                  extended byjp.co.ricoh.dsdk.scard.framework.service.CardServiceException
                      extended byjp.co.ricoh.dsdk.scard.option.security.VerificationException
                          extended byjp.co.ricoh.dsdk.scard.option.security.CHVException
All Implemented Interfaces:
java.io.Serializable

public class CHVException
extends VerificationException

This is an exception class that is thrown when an error has occurred in a CHV performance.

See Also:
Serialized Form

Constructor Summary
CHVException(SecurityDomain domain, int number)
           Constructs an exception class with no message.
CHVException(SecurityDomain domain, int number, java.lang.String message)
           Constructs an exception class with a message.
CHVException(SecurityDomain domain, int number, java.lang.Throwable e)
           Constructs an exception class with a message; the message shows the parent exception class and error details.
 
Method Summary
 SecurityDomain getDomain()
           Returns the SecurityDomain which in the error has occurred.
 int getNumber()
           Returns the number of the PIN.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CHVException

public CHVException(SecurityDomain domain,
                    int number)
Constructs an exception class with no message.

Parameters:
domain - the SecurityDomain which in the error has ocurred.
number - the number of the PIN.

CHVException

public CHVException(SecurityDomain domain,
                    int number,
                    java.lang.String message)
Constructs an exception class with a message.

Parameters:
domain - the SecurityDomain whcih in the error has occurred.
number - the number of the PIN.
message - an error description.

CHVException

public CHVException(SecurityDomain domain,
                    int number,
                    java.lang.Throwable e)
Constructs an exception class with a message; the message shows the parent exception class and error details.

Parameters:
domain - the SecurityDomain whcih in the error has occurred.
number - the PIN number.
e - a parent exception class.
Method Detail

getDomain

public SecurityDomain getDomain()
Returns the SecurityDomain which in the error has occurred.

Returns:
the SecurityDomain which in the error has occurred.

getNumber

public int getNumber()
Returns the number of the PIN.

Returns:
the number of the PIN.

SDK/J Authentication Package ver1.0
RICOH Confidential